import { ref } from "vue";
import { defineStore } from "pinia";
import mockReq from "@/mock/request";
import { mockGetAgendaList } from "@/mock/index"
export const useAgendaStore = defineStore("agendaStore", () => {
    let agendaList = ref([]);
    const getAgendaList = async function () {
        let res = await mockGetAgendaList();


        this.agendaList.value = res.agendaList || []


    }


    return { agendaList, getAgendaList }
})